home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat3
/
ssapi.z
/
ssapi
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
SSSSSSSSAAAAPPPPIIII((((3333)))) SSSSSSSSAAAAPPPPIIII((((3333))))
NNNNAAAAMMMMEEEE
ssrt_caliper_point, ssrt_interface_routine, ssrt_buffer_clear - SpeedShop
runtime library
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<SSSSppppeeeeeeeeddddSSSShhhhoooopppp////aaaappppiiii....hhhh>>>>
iiiinnnntttt ssssssssrrrrtttt____ccccaaaalllliiiippppeeeerrrr____ppppooooiiiinnnntttt((((iiiinnnntttt ffffllllaaaaggggssss,,,, cccchhhhaaaarrrr ****llllaaaabbbbeeeellll))));;;;
lllloooonnnngggg ssssssssrrrrtttt____iiiinnnntttteeeerrrrffffaaaacccceeee____rrrroooouuuuttttiiiinnnneeee((((iiiinnnntttt oooopppp,,,, vvvvooooiiiidddd ****ccccoooonnnntttteeeexxxxtttt))));;;;
vvvvooooiiiidddd ssssssssrrrrtttt____bbbbuuuuffffffffeeeerrrr____cccclllleeeeaaaarrrr((((vvvvooooiiiidddd))));;;;
vvvvooooiiiidddd ssssssssrrrrtttt____eeeexxxxppppeeeerrrriiiimmmmeeeennnntttt____ssssttttoooopppp((((vvvvooooiiiidddd))));;;;
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The SpeedShop Performance Tools work by invoking functions in the
SpeedShop runtime library. This library may be explicitly linked with a
user program, in which case the following named routines above may be
invoked explicitly. To explicitly link with the SpeedShop runtime, add
the option -_l_s_s to the link line used to build the program. Doing so
will load the two SpeedShop libraries, _l_i_b_s_s._s_o and _l_i_b_s_s_r_t._s_o into the
executable.
ssssssssrrrrtttt____ccccaaaalllliiiippppeeeerrrr____ppppooooiiiinnnntttt is used to record a caliper point in the experiment.
It may be called from anywhere in the code. The first parameter
specifies the caliper point flags, but is not supported yet, so it's
ignored. The second argument specifies a string label for the caliper
point.
An implicit caliper point is always recorded at the start of execution of
the process. A final caliper point is recorded when the process exits
normally. The implicit caliper point at the beginning of the program is
numbered 0, the first caliper point after that is numbered 1, and any
additional caliper points are numbered sequentially. In addition,
caliper points are automatically recorded under the following
circumstances to ensure that at least one valid set of data is recorded.
- When a fatal or exit signal is received.
- When the program calls an _e_x_e_c function.
- When a program closes a DSO by calling _d_l_c_l_o_s_e().
ssssssssrrrrtttt____iiiinnnntttteeeerrrrffffaaaacccceeee____rrrroooouuuuttttiiiinnnneeee is used to invoke the capture-module interface
routine. The definitions for _o_p and the structure of _c_o_n_t_e_x_t for each
value of _o_p will be documented in future releases.
ssssssssrrrrtttt____bbbbuuuuffffffffeeeerrrr____cccclllleeeeaaaarrrr is used to clear all currently accumulated data,
resetting all values to zero. It is used to exclude data from an
initialization phase of the program. With caliper support available in
prof(1), this routine will normally not be used.
ssssssssrrrrtttt____eeeexxxxppppeeeerrrriiiimmmmeeeennnntttt____ssssttttoooopppp is used to disable performance data collection for
the calling process. No experiment file will get generated for the
process either.
PPPPaaaaggggeeee 1111
SSSSSSSSAAAAPPPPIIII((((3333)))) SSSSSSSSAAAAPPPPIIII((((3333))))
SSSSEEEEEEEE AAAALLLLSSSSOOOO
speedshop(1), ssrun(1), prof(1), ssdump(1), ssapi(3F)
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
As ouput from the library routines.
PPPPaaaaggggeeee 2222